:root{
    --elecWidth: 240px;
    --elecWidth1: -240px;
}

section.printBox{
    width: 100%;
  height: 100%;
  padding-left: 10px;
  padding-top: 5px;
  box-sizing: border-box;
}
.pdfBtn{
  position: absolute;
  top: 17px;
  right: 10px;
}
h4{
  margin: 10px 0;
  font-weight: normal;
  font-size: 18px;
}
/**/
.usname{
  color:#000;
}
/*.top{*/
/*  margin-bottom: 20px;*/
/*}*/
.top fieldset{
  border: 1px solid var(--bdcolor);
    padding-bottom: 5px;
    height: 170px;
}
/*.top div:first-child fieldset{*/
/*    padding-bottom: 15px;*/
/*}*/
.top fieldset p{
  font-size: 14px;
}
/*.left,.right{*/
/*  height: 70px;*/
/*}*/
.left{
    /* width: 70px; */
    height: 132px;
    margin-right: 20px;
    /* line-height: 70px; */
    /* text-align: center; */
    /*border-right: 1px solid #5967a4;*/
    /*box-shadow: 1px 0 #5967a4;*/
}
.left i{
  font-size: 36px;
  font-weight: bold;
}
.left img{
    height: 100%;
}

.right{
  width: calc(100% - 178px);
    font-size: 14px;
}
.right p span:first-child{
  display: inline-block;
  width: calc(100% - 118px);
  text-align: center;
  text-shadow: 1px 1px 1px #696969;
}

/**/
.charts{
  width:100%;
  height: calc(100% - 170px);
  position: relative;
}
.charts .box{
  width: 100%;
  height: 100%;
  padding: 10px;
}
.boxOne,#monthDaysTrend,#monthTotal,.boxwrap{
  width: 100%;
  height: 100%;
  /* background-color: var(--bgcolor); */
  box-shadow: 0 0 2px rgba(255, 255, 255, .2);
}
.charts .boxwrap > div{
  height: 100%;
}
/*.zoomWrap{*/
  /*position: absolute;*/
  /*top: 0;*/
  /*right: 0;*/
  /*padding: 10px;*/
/*}*/
/*.zoomWrap button.close{*/
  /*font-size: 24px;*/
  /*padding: 5px 6px;*/
  /*color: #fff;*/
  /*opacity: 1;*/
  /*position: absolute;*/
  /*top: 10px;*/
  /*right: 10px;*/
  /*z-index: 998;*/
/*}*/
/*.zoomWrap button.close:hover{*/
  /*opacity: 1;*/
  /*background-color: rgba(255,0,0,.7);*/
/*}*/
/*.zoomWrap div#zoom-chart{*/
  /*width: 100%;*/
  /*height: 100%;*/
  /*background-color: #304f9a;*/
/*}*/
.list{
  width: 48%;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
  position: relative;
  z-index: 997;
}
/*.list table{*/
/*  width: 95%;*/
/*  max-width: 95%;*/
/*}*/
.layui-table[lay-size=sm] td, .layui-table[lay-size=sm] th{
  font-size: 14px;
}
.layui-table-cell{
  padding: 0 2px;
  text-align: center;
}
.layui-table,.layui-table-view{
  margin: 0;
}
.list table tr td,.layui-table-view .layui-table td{
  /*height:30px;*/
  text-align: center;
}
.list table .overList tr td:nth-child(2){
  color: var(--red);
}
thead{
  background-color: rgba(51, 152, 219, .3);
}
/*滚动条*/
.list::-webkit-scrollbar {
  display: none;
  width: 5px;
}
.list::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: transparent;
}
.list{  /*IE滚动条*/
  scrollbar-face-color:rgb(82, 129, 179); /*滚动条3D表面（ThreedFace）的颜色*/
  scrollbar-highlight-color:rgb(82, 129, 179); /*滚动条3D界面的亮边（ThreedHighlight）颜色*/
  scrollbar-shadow-color:rgb(82, 129, 179); /*滚动条3D界面的暗边（ThreedShadow）颜色*/
  scrollbar-3dlight-color:rgb(82, 129, 179); /*滚动条亮边框颜色*/
  scrollbar-arrow-color:rgb(82, 129, 179); /*滚动条方向箭头的颜色 */
  scrollbar-track-color:rgb(82, 129, 179); /*滚动条的拖动区域(TrackBar)颜色*/
  scrollbar-darkshadow-color:rgb(82, 129, 179); /*滚动条暗边框（ThreedDarkShadow）颜色*/
}

.sel{
  height: 25px;
  position: relative;
}
.sel span.sel-title{
  display: inline-block;
  width: 100%;
  height: 25px;
  line-height: 25px;
    font-size: 18px;
  text-align: center;
  color: #ebebeb;
}
/*.sel select{*/
/*  position: absolute;*/
/*  top: 2px;*/
/*  right: 10px;*/
/*  background-color: rgba(48, 79, 154, .6);*/
/*  color: #d5d5db;*/
/*}*/
#grandTotalBox{
  height: calc(100% - 25px);
  position: relative;
}
.charts .layui-row{
  height: 50%;
  min-height: 266px;
}
.charts .layui-row > div{
  height: 100%;
}

.tb-head {
  padding-right: 8px;
  background-color: rgba(89, 103, 164, .5);
}

.tb-body {
  width: 100%;
  height: 100px;
  overflow-y: auto;
}

.tb-head table, .tb-body table {
  width: 100%;
}

/*区域多选select样式*/
.xm-select-parent .xm-input{
  background: var(--form) !important;
}
.xm-select-parent{
  position: absolute;
  top: 0;
  right: 0;
  height: 25px;
}
div[xm-select-skin=default] .xm-select-title div.xm-select-label>span{
  background-color: rgba(138, 141, 161, .3);
  color: #eeeeee;
  border: 0;
  width: auto;
}
.xm-select-parent .xm-select{
  height: 28px !important;
  min-height: 28px;
  line-height: 24px;
  padding: 0;
}
.xm-select-label{
  left: 0 !important;
}
div[xm-hg] .xm-select-label{
  padding-left: 2px;
  left: 0;
}
.xm-select-parent .xm-select-title{
  min-height: 28px;
  height: 28px;
}
.xm-select-parent .xm-form-select dl dd{
  height: 28px;
  line-height: 28px;
}

div[xm-select-skin=default] dl dd:not(.xm-dis-disabled) i,
div[xm-select-skin=default] dl dd.xm-select-this:not(.xm-dis-disabled) i{
  color: #1E9FFF;
  border-color: #1E9FFF;
}

/*2021-04-12*/
legend{
    margin-left: 10px;
    font-size: 18px;
}
.type-wrap-box{
    display: flex;
    flex-wrap: nowrap;
}
.type-wrap{
    display: flex;
    align-items: center;
    flex: auto;
}
.type-wrap:not(:last-child){
    box-shadow: 1px 0 #5967a4;
}
.icon-img{
    width: 70px;
    height: 70px;
    padding: 5px;
    border: 1px solid #c2c2c2;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}
.icon-img i.iconfont{
    font-size: 56px;
}

.shui.icon-active, .shui:hover {
    color: #0095e3;
    border-color: #0095e3;
}

.dian.icon-active, .dian:hover {
    color: #dc9e00;
    border-color: #dc9e00;
}

.qi.icon-active, .qi:hover {
    color: #ff5722;
    border-color: #ff5722;
}

em{
    font-size: 16px;
    color: #eee;
}
em div:nth-child(2n),
.right div:nth-child(2n){
    margin-bottom: 3px;
}
em span{
    font-size: 32px;
    font-weight: bold;
    margin: 0 10px;
    /*color: #0acf96;*/
    color: #3fe6e3;
}

em.typeName{
    font-size: 18px;
}

.layui-table-view, .layui-table-page,
.layui-table td, .layui-table th{
    border-color: transparent;
}
.devTypeCode-select{
    position: absolute;
    top: 17px;
    right: 5px;
    width: 50px;
}
em.use-count-wrap{
    width: 100%;
    padding-right: 10px;
}
em.use-count-wrap > div{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}
em.use-count-wrap > div > div{
    width: 50%;
}

/*水流 动画*/
.water-wrap {
    width: 100%;
    height: 147px;
    overflow: hidden;
}
.wave-container{
    width: 100%;
    height: 70%;
    position: relative;
    top: 30%;
}
.wave-container svg{
    height: 70%;
}
.wave-container .parallax>use {
    animation: wave-move 12s linear infinite
}

.wave-container .parallax>use:nth-child(1) {
    animation-delay: -2s
}

.wave-container .parallax>use:nth-child(2) {
    animation-delay: -2s;
    animation-duration: 5s
}

.wave-container .parallax>use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 3s
}
@keyframes wave-move {
    0% {
        transform: translate(-90px,0)
    }

    100% {
        transform: translate(85px,0)
    }
}
.water-count{
    position: absolute;
    bottom: 10px;
    left: 0;
    font-size: 16px;
    margin-left: 20px;
}
.currentWater{
    color: #3fe6e3;
}

/*电流动画*/
/* 创建图形容器 */
#electronic-animate {
    width: var(--elecWidth);
    height: 132px;
    position: relative;
    left: 50%;
    top: 0;
}
/* 对svg图形设置宽高 */
svg {
    width: 100%;
    height: 100%;
}

/* 创建一个蒙版*/
#mask {
    width: var(--elecWidth);
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 3s;
}

/* 对充电框hover的时候开始动画，添加黄色快速移动的动画 */
#electronic-animate>#orange-mask{
    animation: move1 3s linear 0.2s infinite;
}
#electronic-animate>#orange-mask svg{
    animation: movetwo 3s linear 0.2s infinite;
}
/* 创建黄色移动的蒙版 */
#orange-mask{
    width: 18px;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: -15px;
    top: 0;
}
/* 创建黄色移动的内容 */
#orange-mask svg {
    position: absolute;
    top: 0;
    left: 15px;
    width: var(--elecWidth);
    height: 132px;
}
@keyframes move1 {
    0%{
        left:-15px;
    }
    100%{
        left: var(--elecWidth);
    }
}
@keyframes movetwo {
    0%{
        left: 15px;
    }
    100%{
        left: var(--elecWidth1);
    }
}

/* 电流动画 媒体查询 */
@media only screen and (max-width: 991px){
    .pdfBtn{
        top: 45px;
        right: 0;
    }
}
@media only screen and (min-width: 992px)  and (max-width: 1200px){
    :root{
        --elecWidth: 120px;
        --elecWidth1: -120px;
    }
}
@media only screen and (min-width: 1201px) and (max-width: 1240px){
    :root{
        --elecWidth: 150px;
        --elecWidth1: -150px;
    }
}
@media only screen and (min-width: 1241px) and (max-width: 1340px){
    :root{
        --elecWidth: 200px;
        --elecWidth1: -200px;
    }
}
@media only screen and (min-width: 1341px){
    :root{
        --elecWidth: 240px;
        --elecWidth1: -240px;
    }
}
